﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CF.Member.DAL.WeiboMember
{
    [Serializable]
    public  class OutsideMemInfo
    {

        public OutsideMemInfo()
        { 

        }
        public OutsideMemInfo(string repathUrl,OutsideLoginType loginType,int isbind)
        {
            this.RepathURL = repathUrl;
            this.LoginType = loginType;
            this.IsBind = isbind;
        }
        public OutsideMemInfo(string repathUrl, OutsideLoginType loginType,int isbind, string weiBoUID, string weiBoNickName, string weiBoHeadPic,string sex,string accesstoken,int expires)
            : this(repathUrl,loginType,isbind)
        {
            this.WeiBoUID = weiBoUID;
            this.WeiBoNickName = weiBoNickName;
            this.WeiBoHeadPic = weiBoHeadPic;
            this.Sex = sex;
            this.AccessToken = accesstoken;
            this.Expires_in = expires;
        }

         /// <summary>
        ///  Repath 本站返回路径 
        /// </summary>
        public string RepathURL { get; set; }

        /// <summary>
        ///  LoginType 登录类型  
        /// </summary>
        public OutsideLoginType LoginType { get; set; }

     
        /// <summary>
        /// 微博的唯一UID 
        /// </summary>
        public string WeiBoUID { get; set; }

        /// <summary>
        /// 微博的昵称
        /// </summary>
        public string WeiBoNickName { get; set; }

        /// <summary>
        /// 微博的头像
        /// </summary>
        public string WeiBoHeadPic { get; set; }

        /// <summary>
        /// 微博的头像
        /// </summary>
        public string Sex { get; set; }

        /// <summary>
        /// 是否绑定 1：绑定， 0不绑定
        /// </summary>
        public int IsBind { get; set; }

        /// <summary>
        /// 授权回来的KEY
        /// </summary>
        public string AccessToken { get; set; }

        /// <summary>
        /// 有效时间
        /// </summary>
        public int Expires_in { get; set; }
        
    }


}
